const runtime._PageShift
11 uses
runtime (current package)
heapdump.go#L486: n := (s.npages << _PageShift) / size
malloc.go#L117: pageShift = _PageShift
malloc.go#L122: _PageSize = 1 << _PageShift
mcache.go#L223: npages := size >> _PageShift
mcentral.go#L253: n := s.divideByElemSize(npages << _PageShift)
mheap.go#L511: total = s.npages << _PageShift
mheap.go#L1557: bytes := s.npages << _PageShift
mheap.go#L1563: bytes := s.npages << _PageShift
sizeclasses.go#L90: _PageShift = 13
stack.go#L199: s = mheap_.allocManual(_StackCacheSize>>_PageShift, spanAllocStack)
stack.go#L393: npage := uintptr(n) >> _PageShift
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |